<!DOCTYPE html>
html lang="en"
    head
        meta charset="UTF-8"
        title -- Marko Components Tests
    body

        div id="test"
        div id="mocha"
        div id="testsTarget"

        app-foo
        app-bar

        script
            ---
            window.$initComponents();
            ---

script
    ---
    // window.fooComponent should, but's store that in a variable to verify
    window.afterInitComponentsFooComponent = window.fooComponent;
    window.afterInitComponentsBarComponent = window.barComponent;
    ---
